package cc.liyinghao.common.pojo;

import cc.liyinghao.common.en.MessageType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class ChatList {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer targetId;

    private Integer unreadCount;

    private String lastMessage;

    private MessageType type;

    private String createTime;

}
